package ${packageName}.mapper;
<#--
import java.util.List;
import org.apache.ibatis.annotations.Param;
import ${packageName}.entity.${ClassName};
import ${packageName}.param.${ClassName}Param;
-->  
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import ${packageName}.entity.${ClassName};

/**
 * ${functionName}Mapper接口
 * 
 * @author ${author}
 * @date ${datetime}
 */
public interface ${ClassName}Mapper extends BaseMapper<${ClassName}>{

<#-- 
    /**
     * 查询${functionName}
     * 
     * @param ${pkColumn.javaField} ID
     * @return 
     */
    public ${ClassName} selectById(String ${pkColumn.javaField});

    /**
     * 查询${functionName}列表
     * 
     * @param param
     * @return 
     */
    public List<${ClassName}> selectList(${ClassName}Param param);

    /**
     * 新增${functionName}
     * 
     * @param ${className} 
     * @return 
     */
    public int insert(${ClassName} ${className});

    /**
     * 修改${functionName}
     * 
     * @param ${className} 
     * @return 
     */
    public int update(${ClassName} ${className});

    /**
     * 删除${functionName}
     * 
     * @param ${pkColumn.javaField} ID
     * @return 
     */
    public int deleteById(@Param("idList")List<String> idList);
-->

}
